﻿create proc thuan_qtdanhmucchuongtrinhxoa
@ID int
as
if not exists(select * from DanhMuc_ChuongTrinh Where MaChuongTrinh=@ID)
begin
select ErrCode=0
end
else
begin
delete from DanhMuc_ChuongTrinh WHere MaChuongTrinh=@ID
select ErrCode=1
end
